﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using SocialFront.Core.Repository.EF;

namespace SocialFront.Tests
{
    [TestClass]
    public class CodeFirst
    {
        [TestInitialize]
        public void Init()
        {
            System.Data.Entity.Database.SetInitializer(new TestDataInitializer());
            var ctx = new SocialFrontDataContext("SocialFront");
            ctx.Database.Delete();
            ctx.Database.Create();
            ctx.Database.Initialize(true);
        }

        [TestMethod]
        public void Test()
        {
        }
    }
}
